<html>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="author" content="titan52"/>
<!-- Bootstrap core css-->
<link href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/main.css" rel="stylesheet">
<title>丹丹和小伙伴的聚会</title>
    
<body>
    <section id="hero">
        <div class="form-item">
            <img class="img-circle" src="assets/logo.png" width="180" height="180">
        </div>
    	<div class="form-item">
        	<h3>我的小伙伴们，大家好呀.</h3>
        	<h3>周末的聚会你准备好了吗?</h3>
		</div>
    <div class="form-item">
        
        <a href="/reg.php" class="button pink serif skew glossy">立刻加入聚会</a>
    </div>
</section>
    </body>
<!-- old version for class 2        
<h3>邯郸市一中二班通信录信息填报</h3>
<div>
    姓名：<input type="text" name="name" required="required"/>    
</div>
<div>
    地址：<input type="text" name="address" required="required"/>    
</div>
<div>
    单位：<input type="text" name="unit" required="required"/>    
</div>
<div>
   电话：<input type="text" name="phone" required="required"/>    
</div>
<div>
    电邮：<input type="text" name="email" required="required"/>    
</div>
<div>
    <input type="submit" value="提交信息" onclick="return check()"/>
</div>

    <form method="post" action="insert.php" name="form">
</form>

-->
    <script type="text/javascript">
        function check(){
            name = document.form.name.value;
            address = document.form.address.value;
            unit = document.form.unit.value;
            phone = document.form.phone.value;
            email = document.form.email.value;
            
            if(name==""||address==""||unit==""||phone==""||email==""){
            alert("啥信息都不许空！");
                return false;
            }
        }
    </script>
    <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

</html>